#ifndef SETTINGPRO_H
#define SETTINGPRO_H

#include <qsettings.h>
#include <qstring.h>


class SettingPro
{
public:
    static SettingPro& instance(QString bg)
    {
        static SettingPro instance(bg);
        return instance;
    }
    void setBeginGroup(QString bg);
    QString getEEGMac();
    QString getEEGNo();
    QString getECGMac();
    QString getECGNo();
private:
    SettingPro(QString bg);
    ~SettingPro();
    SettingPro(const SettingPro&)=delete;
    SettingPro& operator=(const SettingPro&)=delete;
    QSettings *settings;

};

#endif // SETTINGPRO_H
